#!/bin/bash

cd /home/qie_proxy/code/run

rm -rf ./*/*MMAP
rm -rf ./*/*STAT


cd ./proxysvrd1/
../../bin/safe_svrd_pgproxy.sh commsvrd start &
../../bin/safe_svrd_pgproxy.sh proxysvrd start &

cd ../proxysvrd2/
../../bin/safe_svrd_pgproxy.sh commsvrd start &
../../bin/safe_svrd_pgproxy.sh proxysvrd start &

cd ../proxysvrd3/
../../bin/safe_svrd_pgproxy.sh commsvrd start &
../../bin/safe_svrd_pgproxy.sh proxysvrd start &

cd ../proxysvrd4/
../../bin/safe_svrd_pgproxy.sh commsvrd start &
../../bin/safe_svrd_pgproxy.sh proxysvrd start &

